-
Notifications
You must be signed in to change notification settings - Fork 148
Don't group timeline items if more than 5 minutes has passed. #4138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
❌ 1 Tests Failed:
View the full list of 3 ❄️ flaky tests
To view more test analytics, go to the Test Analytics Dashboard |
Matches the behaviour on web.
28644c3
to
8f28d6e
Compare
UI tests run: https://github.com/element-hq/element-x-ios/actions/runs/15157235537 Pretty sure all our mocked data timestamps are the same, but just to be sure 🤞 |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noice! 👏
This PR slightly tweaks the grouping algorithm so that we split up the bubble groups if more than 5-minutes has passed between messages from the same sender. I'm sure there could be lots more done here (such as splitting up groups if they span a long continuous time) but this seems like a simple start to make it easy to visualise the passage of time (and frankly fix something that really bothers me day to day).
The behaviour appears to match Element Web from my testing.